﻿<%@ Page Title="主页" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Enring.Web._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>Enring Test Page,
    </h2>
    <p>
        this page include a Datagrid,
        test make a record,make a list,make a delete action.
    </p>
    <p>
        <asp:Button ID="btnAppend" runat="server" Text="Append New By TimeZone" />
        <asp:Button ID="btnAppendRing" runat="server" Text="Append New Ring" />
        <hr />
        <asp:DropDownList ID="lstContries" runat="server" DataTextField="Name" DataValueField="ID" AutoPostBack="false">
        </asp:DropDownList>
        <asp:Button ID="btnRefresh" runat="server" Text="Refresh" /><asp:Button ID="btnDeleteContry" runat="server" Text="Delete Contry" />

        <br />
        <asp:Menu ID="menuPath" runat="server" Orientation="Horizontal">
        </asp:Menu>
        <asp:GridView ID="gridRings" runat="server" AutoGenerateColumns="false">
            <SelectedRowStyle BackColor="YellowGreen" />
            <Columns>
                <asp:BoundField HeaderText="ID" DataField="ID" />
                <asp:BoundField HeaderText="Name" DataField="Name" />
                <asp:BoundField HeaderText="Level" DataField="Level" />
                <asp:ButtonField ButtonType="Button" CommandName="Delete" Text="Delete" />
                <asp:CommandField ShowSelectButton="true" ButtonType="Button" />
            </Columns>
        </asp:GridView>
        <asp:Menu ID="pager" runat="server" Orientation="Horizontal">
        </asp:Menu>
    </p>
</asp:Content>
